# -*- coding: cp936 -*-
import pygame
from pygame.locals import *

pygame.init()
size = width, height = 480, 480
screen = pygame.display.set_mode(size)
clock = pygame.time .Clock()
def draw_game():
     pygame.draw.rect(screen, (255,255,255), (0, 0, width, height))
     pygame.draw.line(screen, (0,0,0), (160, 0), (160, 480), 6)
     pygame.draw.line(screen, (0,0,0), (320, 0), (320, 480), 6)
     pygame.draw.line(screen, (0,0,0), (0, 160), (480, 160), 6)
     pygame.draw.line(screen, (0,0,0), (0, 320), (480, 320), 6)
while True:
     for event in pygame.event.get():
          if event.type == pygame.QUIT:
               pygame.quit()
               exit(0)
     draw_game()
     pygame.display.flip()






    
          
